package com.diandian.backend.entrance.client.dto.jingdongHome;

import java.io.Serializable;

public class BatchQueryUseableInfoReqDTOData implements Serializable {

    private String offlineStoreCode; // 线下门店id
    private String onlineStoreCode; // 线上门店编码
    private String skuCode; // 线下商品id

    public boolean check(){
        if((this.offlineStoreCode == null || "".equals(this.offlineStoreCode)) && (this.onlineStoreCode == null || "".equals(this.onlineStoreCode))){
            return false;
        }
        if(this.skuCode == null || "".equals(this.skuCode)){
            return false;
        }
        return true;
    }

    public String getOfflineStoreCode() {
        return offlineStoreCode;
    }

    public void setOfflineStoreCode(String offlineStoreCode) {
        this.offlineStoreCode = offlineStoreCode;
    }

    public String getOnlineStoreCode() {
        return onlineStoreCode;
    }

    public void setOnlineStoreCode(String onlineStoreCode) {
        this.onlineStoreCode = onlineStoreCode;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }
}
